﻿using B.S.Production.ErrorCode;
using MediatR;

namespace B.S.Production.Write.API.Application.Command.ProductionOrderCommand
{
    /// <summary>
    /// 生产订单修改
    /// </summary>
    public class UpdateProductionOrderCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 生产订单主键
        /// </summary>
        public int ProdunctionId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public long ProductNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public string Orderquantity { get; set; }
        /// <summary>
        /// 生产类型
        /// </summary>
        public string ProductType { get; set; }
        /// <summary>
        /// 计划开工日期
        /// </summary>
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 计划完工日期
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime? DeliveryDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 客户订单id
        /// </summary>
        public int CoId { get; set; }
        /// <summary>
        /// 逻辑删除true-false
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
